SGUpdate
TheSGUpdate
function allows you to learn about update events. This gives you an opportunity to update your display.
pascal ComponentResult SGUpdate (SeqGrabComponent s, RgnHandle updateRgn);
s
- Identifies the sequence grabber component that has connected to your channel component.
updateRgn
- Indicates the part of the window that has been changed. This parameter specifies a portion of the window that has been changed. Applications can obtain this information by examining the appropriate window record. For example, they may call the sequence grabber in this manner:
SGUpdate (theSG, ((WindowPeek)updateWindow)->updateRgn);
- If this parameter is set to
nil
, use the window's current visible region.DESCRIPTION
Applications call the sequence grabber'sSGUpdate
function whenever they receive an update event for a window that contains a sequence grabber display. The sequence grabber then calls each affected channel. Applications should call this function before calling the Window Manager'sBeginUpdate
function.RESULT CODE
deviceCantMeetRequest -9408 Device cannot support grabber
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help